package org.example.Spring.Service;

import org.example.Spring.dao.UserDao;

public class UserServicelmpl implements UserService{

    UserDao userDao;

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    @Override
    public boolean login(String name, String password) {
        return userDao.login(name,password);
    }
}
